Skip to content

test(admin): await catalog sync settings load - #39

Draft
anantmendiratta wants to merge 1 commit into
mainfrom
agent/fix-admin-sync-test
Draft

test(admin): await catalog sync settings load#39
anantmendiratta wants to merge 1 commit into
mainfrom
agent/fix-admin-sync-test

Conversation

@anantmendiratta

Copy link
Copy Markdown
Collaborator

Summary

Waits for the Catalog Sync modal's asynchronous configuration load before asserting the redacted-token placeholder.

Why

The test clicked Manage sync, then queried the token field synchronously. The modal performs a separate configuration fetch, so CI could render the heading before the configured-token placeholder was updated.

Validation

  • npm test -- src/components/KnowledgeBase/CatalogSyncPanel.test.tsx
  • npm run build

This changes test synchronization only; production behavior and the encrypted-token contract are unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant